package com.example.service.impl.permissions;

import com.example.dao.permissions.JurisDao;
import com.example.pojo.permissions.Juris;
import com.example.service.permissions.JurisService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class JurisServiceImpl implements JurisService {
    @Autowired
    private JurisDao jurisDao;

    @Override
    public List<Juris> getJuris() {
        return jurisDao.getJuris();
    }

    @Override
    public void getInter(String data,String mess) {
        jurisDao.getInter(data,mess);
    }

    @Override
    public void getCao(String data, String mass) {
        jurisDao.getCao(data,mass);
    }
}
